package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement  //增加事务管理
@ServletComponentScan
public class WechatApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(WechatApplication.class, args);
    }
}